FROM c0mpiler/python-nodejs:python3.9-nodejs24-slim

RUN npm install -g nodemon
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["nodemon", "--exec", "python", "main.py"]